<template>
  <div>
   <el-input v-model="this.$store.state.count">

   </el-input>
   <el-button @click="set">设置</el-button>
  </div>

</template>

<style lang="scss" scoped>
.page-container {
  font-size: 20px;
  height: 100%;
  text-align: center;
  color: rgb(192, 204, 218);
}
</style>
<script>

export default {

  data: function () {
    return {
      abc: 12311
    }
  },
  created: function () {
    console.log('test create')
  },
  methods: {

    set () {
      this.$store.commit('INCREMENT')
    }
  }
}
</script>
